# 第一章案例1
# import matplotlib.pyplot as plt
# score = [107,77,65,87,98,78,96,76,87,73,95,109,104,68,67,89,88,34,
#          65,74,99,100,78,96,84,93,83,86,56,76,45,87,74,97,75,95,78,65,
#          89,96,87,94,87,93,75,63,74]
# plt.rcParams['font.sans-serif']=['SimHei']
# plt.xlabel('分数')
# plt.ylabel('学生数量')
# plt.title('学生语文成绩分布直方图')
# plt.hist(score,bins=range(0,150,10),facecolor='red',edgecolor='black')
# plt.show()
# 第一章案例1
# import matplotlib.pyplot as plt
# score = [107,77,65,87,98,78,96,76,87,73,95,109,104,68,67,89,88,34,
#          65,74,99,100,78,96,84,93,83,86,56,76,45,87,74,97,75,95,78,65,
#          89,96,87,94,87,93,75,63,74]
# plt.rcParams['font.sans-serif']=['SimHei']
# plt.xlabel('分数')
# plt.ylabel('学生数量')
# plt.title('学生数学成绩分布直方图')
# plt.hist(score,bins=range(0,150,10),facecolor='blue',edgecolor='red')
# plt.show()